package com.tjetc.test.service;

import com.tjetc.test.common.PageResult;
import com.tjetc.test.entity.User;

import java.util.List;

public interface UserService {
    boolean addUser(User user);

    User getUserById(int id);

    PageResult<List<User>> getPagerUser(String name);
}
